package File;

import sun.net.ftp.FtpClient;
import java.io.*;

public class FileFtp{
	public static void main(String[] args) {
		try{
			FtpClient client = new FtpClient("192.168.2.246");
			client.login("hansfly", "iloveu");
			client.binary();
			String cmd = "dele new\r\n";
			client.sendServer(cmd);
		}catch(IOException e){
			e.printStackTrace();
		}
	}
}
